package cn.swjtuhc.ss.hljapi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.swjtuhc.ss.hljapi.pojo.Activity;
import cn.swjtuhc.ss.hljapi.service.ActivityService;
import cn.swjtuhc.ss.hljapi.mapper.ActivityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 15854
* @description 针对表【activity】的数据库操作Service实现
* @createDate 2024-08-29 17:51:20
*/
@Service
public class ActivityServiceImpl extends ServiceImpl<ActivityMapper, Activity>
    implements ActivityService{
    @Autowired
    private ActivityMapper activityMapper;
    @Override
    public Activity findById(Integer id) {
        Activity activity = activityMapper.selectById(id);
        return activity;
    }
}




